Handle missing files after `cargo rustc`
authorAlex Crichton <alex@alexcrichton.com>
Wed, 10 Jun 2015 01:40:50 +0000 (18:40 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 10 Jun 2015 01:40:50 +0000 (18:40 -0700)
commit8230f1f4a7955c4e9ece2219109d72055e475456
tree0c05350c66635c64c9bdbae5cd4faa719d6f85d3
parent1ae683a1496be2e35f213e3e11645adcb3ed62b1
Handle missing files after `cargo rustc`

Some flags to the compiler could cause it to stop early or not emit some files
altogether (or perhaps emit files in different locations even). Currently cargo
expects a few outputs of the compiler after `cargo rustc` is run, but this
commit alters cargo to know that when `cargo rustc` is being run that the
outputs may not exist and that's ok.

Closes #1675
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile.rs